//
//  progress.h
//  slider
//
//  Created by 邓芮 on 15/11/9.
//  Copyright © 2015年 邓芮. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ProgressDelegate <NSObject>

// 点击view返回的value
- (void)touchView:(float)value;

@end


@interface progress : UIView

@property (strong, nonatomic, readonly) UISlider *slider;

// 滑块view
@property (strong, nonatomic) UIView *thumb;

@property (assign, nonatomic) id<ProgressDelegate>delegate;

// 缓冲进度条的值
@property (assign, nonatomic) CGFloat cache;

// 缓冲进度条的颜色
@property (weak, nonatomic) UIColor *cacheColor;

@end




